package org.javaboy.vhr.service.impl;

import org.javaboy.vhr.model.AttendanceRecord;

import java.util.List;

/**
 * @author shkstart
 * @create 2025-04-09 17:29
 */
public interface AttendanceRecordServiceImpl {
    //查询所有考勤记录
    List<AttendanceRecord> getAllAttendanceRecords();
    
    //添加考勤记录
    int insertAttendanceRecord(Integer eid,String clockType, String status,String remark);
    
    //根据员工id查询考勤记录
    List<AttendanceRecord> getAttendanceRecordsByEid(Integer eid);

    //根据员工姓名查询考勤记录
    List<AttendanceRecord> getAttendanceRecordsByEname(String name);
    //根据id删除打卡记录
    int deleteAttendanceRecord(Integer id);
    //修改打卡记录
    int updateAttendanceRecord(AttendanceRecord attendanceRecord);
}
